package gui;

import java.awt.Font;

import javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.SwingConstants;

public class LandmarkPanel extends JPanel {

	private JButton btnGoToStore, btnTravelOptions, btnGoOnTrail;
	private JLabel lblLandmarkTitle;
	private JPanel panelImage;
	private JButton btnSave;
	private JLabel lblPlayerHealth;
	private JLabel lblCharacter1Health;
	private JLabel lblCharacter2Health;
	private JLabel lblCharacter3Health;
	private JLabel lblCharacter4Health;

	/**
	 * Create the panel.
	 */
	public LandmarkPanel() {
		setLayout(null);

		btnGoToStore = new JButton("Go To Store");
		btnGoToStore.setBounds(51, 84, 180, 52);
		add(btnGoToStore);

		btnTravelOptions = new JButton("Change Travel Options");
		btnTravelOptions.setBounds(51, 147, 180, 52);
		add(btnTravelOptions);

		lblLandmarkTitle = new JLabel("Welcome to Independence, Missouri");
		lblLandmarkTitle.setFont(new Font("Tahoma", Font.PLAIN, 30));
		lblLandmarkTitle.setHorizontalAlignment(SwingConstants.CENTER);
		lblLandmarkTitle.setBounds(10, 11, 684, 35);
		add(lblLandmarkTitle);

		btnGoOnTrail = new JButton("Hit the Trail");
		btnGoOnTrail.setBounds(51, 273, 180, 52);
		add(btnGoOnTrail);
		
		panelImage = new JPanel();
		panelImage.setBounds(252, 84, 416, 241);
		add(panelImage);
		
		btnSave = new JButton("Save");
		btnSave.setBounds(51, 210, 180, 52);
		add(btnSave);
		
		lblPlayerHealth = new JLabel("Player Health");
		lblPlayerHealth.setFont(new Font("Tahoma", Font.PLAIN, 11));
		lblPlayerHealth.setBounds(252, 336, 383, 17);
		add(lblPlayerHealth);
		
		lblCharacter1Health = new JLabel("Character 1 Health");
		lblCharacter1Health.setFont(new Font("Tahoma", Font.PLAIN, 11));
		lblCharacter1Health.setBounds(252, 354, 383, 17);
		add(lblCharacter1Health);
		
		lblCharacter2Health = new JLabel("Character 2 Health");
		lblCharacter2Health.setFont(new Font("Tahoma", Font.PLAIN, 11));
		lblCharacter2Health.setBounds(252, 372, 383, 17);
		add(lblCharacter2Health);
		
		lblCharacter3Health = new JLabel("Character 3 Health");
		lblCharacter3Health.setFont(new Font("Tahoma", Font.PLAIN, 11));
		lblCharacter3Health.setBounds(252, 390, 383, 17);
		add(lblCharacter3Health);
		
		lblCharacter4Health = new JLabel("Character 4 Health");
		lblCharacter4Health.setFont(new Font("Tahoma", Font.PLAIN, 11));
		lblCharacter4Health.setBounds(252, 408, 383, 17);
		add(lblCharacter4Health);
	}
	
	/**
	 * @return the lblPlayerHealth
	 */
	public JLabel getLblPlayerHealth() {
		return lblPlayerHealth;
	}

	/**
	 * @return the lblCharacter1Health
	 */
	public JLabel getLblCharacter1Health() {
		return lblCharacter1Health;
	}

	/**
	 * @return the lblCharacter2Health
	 */
	public JLabel getLblCharacter2Health() {
		return lblCharacter2Health;
	}

	/**
	 * @return the lblCharacter3Health
	 */
	public JLabel getLblCharacter3Health() {
		return lblCharacter3Health;
	}

	/**
	 * @return the lblCharacter4Health
	 */
	public JLabel getLblCharacter4Health() {
		return lblCharacter4Health;
	}

	/**
	 * @return the panelImage
	 */
	public JPanel getPanelImage() {
		return panelImage;
	}
	
	/**
	 * @param isVisible sets whether or not the store button is visible
	 */
	public void setStoreVisible(boolean isVisible){
		btnGoToStore.setVisible(isVisible);
	}

	/**
	 * @return the lblLandmarkTitle
	 */
	public JLabel getLblLandmarkTitle() {
		return lblLandmarkTitle;
	}

	/**
	 * @return the btnSave
	 */
	public JButton getBtnSave() {
		return btnSave;
	}
	
	/**
	 * @return the btnGoToStore
	 */
	public JButton getBtnGoToStore() {
		return btnGoToStore;
	}

	/**
	 * @return the btnTravelOptions
	 */
	public JButton getBtnTravelOptions() {
		return btnTravelOptions;
	}

	/**
	 * @return the btnGoOnTrail
	 */
	public JButton getBtnGoOnTrail() {
		return btnGoOnTrail;
	}
}
